<template>
	<view class="page">
		<u-parse :content="content"></u-parse>
	</view>
</template>

<script>
	import {getSeedingDetailApi} from '@/api/seeding.js'
	export default {
		data() {
			return {
				content: ''
			};
		},
		onLoad({id}) {
			this.getDetail(id)
		},
		methods: {
			async getDetail(id) {
				const res = await getSeedingDetailApi({
					id
				})
				this.content = res.data.content
			}
		}
	}
</script>

<style lang="scss" scoped>
.page {
	padding: 20rpx;
	box-sizing: border-box;
}
</style>
